import http from '@/utils/request'

function loginReq(userName, password) {
  return http({
    method: 'post',
    url: '/api/v1/auth/manager_login',
    data: { userName, password },
  })
}
function getAdminInfoReq() {
  return http({
    method: 'get',
    url: '/api/v1/auth/manager_info',
  })
}

export { loginReq, getAdminInfoReq }
